package com.jml.account.schedule.listener;


import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Controller;

@Controller
public class ScheduleListen {

    @Scheduled(cron="0/5 * *  * * ? ")   //每5秒执行一次
    public void bTask(){
        System.out.println("任务每5秒执行一次进入测试");
    }

}
